<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>CRUD DE LOS OPERARIOS DE DE LAS SEDES</title>

</head>
<body>
	<h1><?php echo $title; ?></h1>
	<?php echo $message; ?>
	<form method="post" action="<?php echo $action; ?>">
	<div class="data">
	<table>
		<tr>
			<td width="30%">ID</td>
			<td><input type="text" name="id" disabled="disable"
			value="<?php echo set_value('id',$this->form_data->id); ?>"/>

			<input type="hidden" name="id"
			value="<?php echo set_value('id',$this->form_data->id); ?>"/>			
			
			</td>
		</tr>
		<tr>
			<td valign="top">Nombre<span style="color:red;">*</span></td>
			<td><input type="text" name="nombre"
			value="<?php echo set_value('nombre',$this->form_data->nombre); ?>"/>
			</td>
		</tr>
		<tr>
			<td valign="top">Apellido<span style="color:red;">*</span></td>
			<td><input type="text" name="apellido"
			value="<?php echo set_value('apellido',$this->form_data->apellido); ?>"/>
			</td>
		</tr>
		<tr>
			<td valign="top">Documento<span style="color:red;">*</span></td>
			<td><input type="text" name="documento"
			value="<?php echo set_value('documento',$this->form_data->documento); ?>"/>
			</td>
		</tr>
		<tr>
			<td valign="top">Fecha de nacimiento<span style="color:red;">*</span></td>
			<td><input type="text" name="fec_nac"
			value="<?php echo set_value('fec_nac',$this->form_data->fec_nac); ?>"/>
			</td>
		</tr>
		<tr>
			<td valign="top">Domicilio<span style="color:red;">*</span></td>
			<td><input type="text" name="direccion"
			value="<?php echo set_value('direccion',$this->form_data->direccion); ?>"/>
			</td>
		</tr>
		<tr>
			<td valign="top">E-mail<span style="color:red;">*</span></td>
			<td><input type="text" name="email"
			value="<?php echo set_value('email',$this->form_data->email); ?>"/>
			</td>
		</tr>
		<tr>
			<td valign="top">Password<span style="color:red;">*</span></td>
			<td><input type="text" name="password"
			value="<?php echo set_value('password',$this->form_data->password); ?>"/>
			</td>
		</tr>
		
		<!--
		<tr>
			<td valign="top">Enable<span style="color:red;">*</span></td>
			<td><input type="text" name="enable"
			value="< ?php echo set_value('enable',$this->form_data->enable); ?>"/>
			</td>
		</tr>
		-->

		<tr>
			<td valign="top">Enable<span style="color:red;">*</span></td>
			<td><input type="checkbox" name="enable" 
			
			<?php if ($this->form_data->enable == "1"){ ?>
				checked
			<?php } ?>			
			/>

			</td>
		</tr>		
		
		<tr>
			<td valign="top">Rol<span style="color:red;">*</span></td>
			<td><input type="text" name="id_role"
			value="<?php echo set_value('id_role',$this->form_data->id_role); ?>"/>
			</td>
		</tr>

		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" value="Guardar"/></td>
		</tr>
	</table>
	</div>
	</form>
	<br />
	<?php echo $link_back; ?>
</body>
</html>
